package cn.zbmao.web.dao;

import cn.zbmao.web.entity.TenderNews;
import com.jfinal.plugin.activerecord.Record;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: huangzheng
 * Date: 2014/11/4
 * Time: 11:46
 * To change this template use File | Settings | File Templates.
 */
public interface TenderNewsDao {
    /**
     *用户关心的中标信息
     * @param userId
     * @param dateTime
     * @return
     */
    List<TenderNews> findSuccessfulNewsForUser(int userId, int dateTime, Map<String, List<Record>> map);
}
